/**
 * Project: apollo-base-commons
 * 
 * File Created at 2016年10月25日
 * 
 * Copyright 2015-2016 dx.com Croporation Limited.
 * All rights reserved.
 *
 * This software is the confidential and proprietary information of
 * DongXue software Company. ("Confidential Information").  You shall not
 * disclose such Confidential Information and shall use it only in
 * accordance with the terms of the license agreement you entered into
 * with dx.com.
 */
package com.dx.pf.commons.async.core;

import java.util.Map;

/** 
* @ClassName: AsyncTaskFuture 
* @Description: TODO(这里用一句话描述这个类的作用) 
* @author wuzhenfang(wzfbj2008@163.com)
* @date 2016年10月25日 下午1:54:45 
* @version V1.0 
*/
public abstract class AsyncTaskFuture<T> extends AsyncTask implements AsyncFuture<T> {

	public AsyncTaskFuture() {
	}

	public AsyncTaskFuture(Map<String, Object> dataMap) {
		this.dataMap = dataMap;
	}

	@Override
	public T doAsync() {
		return doAsync(dataMap);
	}

	public abstract T doAsync(Map<String, Object> dataMap);
}
